package com.ruoyi.project.search.viewFactoryInOrOutJob.service;

import com.ruoyi.project.search.viewFactoryInOrOutJob.domain.ViewFactoryInOrOutJob;

import java.util.List;

/**
 * 工厂出入库Service接口
 * 
 * @author qxq
 * @date 2024-04-23
 */
public interface IViewFactoryInOrOutJobService 
{
    /**
     * 查询工厂出入库
     * 
     * @param carNumber 工厂出入库主键
     * @return 工厂出入库
     */
    public ViewFactoryInOrOutJob selectViewFactoryInOrOutJobByCarNumber(String carNumber);

    /**
     * 查询工厂出入库列表
     * 
     * @param viewFactoryInOrOutJob 工厂出入库
     * @return 工厂出入库集合
     */
    public List<ViewFactoryInOrOutJob> selectViewFactoryInOrOutJobList(ViewFactoryInOrOutJob viewFactoryInOrOutJob);

    /**
     * 新增工厂出入库
     * 
     * @param viewFactoryInOrOutJob 工厂出入库
     * @return 结果
     */
    public int insertViewFactoryInOrOutJob(ViewFactoryInOrOutJob viewFactoryInOrOutJob);

    /**
     * 修改工厂出入库
     * 
     * @param viewFactoryInOrOutJob 工厂出入库
     * @return 结果
     */
    public int updateViewFactoryInOrOutJob(ViewFactoryInOrOutJob viewFactoryInOrOutJob);

    /**
     * 批量删除工厂出入库
     * 
     * @param carNumbers 需要删除的工厂出入库主键集合
     * @return 结果
     */
    public int deleteViewFactoryInOrOutJobByCarNumbers(String carNumbers);

    /**
     * 删除工厂出入库信息
     * 
     * @param carNumber 工厂出入库主键
     * @return 结果
     */
    public int deleteViewFactoryInOrOutJobByCarNumber(String carNumber);
}
